<%@codepage="65001"%>
<%session.codepage="65001"%>
<!-- #include virtual=/inc/dbConn.asp -->
<!-- #include virtual=/inc/function.asp -->
<%
	xMode = Request("xMode")
	
	isPerm = ""
	If Request.Cookies("S_level") = "05" then 
		isPerm = "none"
	End if
%>
<!-- #include virtual=/inc/header.inc.asp -->  

<BODY topmargin="0" leftmargin="0">
<!-- #include virtual=/inc/menu.inc.asp -->  

<br>
<!-- 검색 영역 시작 -->
<div style="text-align:left">
<table border="0" cellpadding="0" cellspacing="0" width="1255" style="margin-left:5px;">
	<tr height="40">
		<td style="padding: 0px 0 0px 10px;background-image:url(/inc/layout/panel-title-light-bg.gif);font-weight:bold;text-align:left" width="100%" class="lTD_trbl"> &nbsp; 
			<select id="findComCdGroupCombo"><option value="">--그룹--</option></select>
			아이템 <input type="text" name="findItem" id="findItem" class="inputBox" style="width:120px;ime-Mode:active"> &nbsp;
			<input type="button" onClick="grid01List()" value="검 색" class="inputBtn">&nbsp;
			<input type="button" onClick="fnSearchReset()" value="Reset" class="inputBtn">
		</td>
	</tr>
</table>
</div>
<!-- 검색 영역 끝 -->


<br>

<!-- 그리드 시작 -->
<div style="text-align:left">
<table border="0" cellpadding="0" cellspacing="0" width="1255" style="margin-left:5px;text-align:left">
	<tr>
		<td width="100%" class="lTD_trbl" valign="top" style="padding: 5px 5px 5px 5px;">
			<table border="0" cellpadding="0" cellspacing="0" width="670">
				<tr height="24">
					<td style="padding: 0 0 0 0;text-align:left" width="300"><div><input type="text" class="subTitle" style="width:80px;" value="제품관리" ReadOnly>&nbsp;<a href="javascript:grid01List()">[새로고침]</a> &nbsp;</div> </td>
					<td style="padding: 0 20 0 0;" align="right" width="370"><B>Total :</B> <span id="grid01Cnt" style="font-weight:bold">0</span></td>
				</tr>
			</table>
			<table border="0" cellpadding="0" cellspacing="0" width="670"><tr><td style="background-color:#3366CC;height:2px"></td></tr></table>
			<form name="frmGrid01">
			<table border="0" width="670" cellpadding="0" cellspacing="0">
				<thead>
				<tr id="Grid01" bgcolor="#EEECE7" height="25" align="center">
					<td width="40" class="lTD_0rbl gridTitle">No.</td>
					<td width="80" class="lTD_0rb0 gridTitle">그룹코드</td>
					<td width="150" class="lTD_0rb0 gridTitle">그룹명</td>
					<td width="80" class="lTD_0rb0 gridTitle">아이템코드</td>
					<td width="170" class="lTD_0rb0 gridTitle">아이템</td>
					<td width="80" class="lTD_0rb0 gridTitle">재고</td>
					<td width="60" class="lTD_0rb0 gridTitle">순위</td>
					<td width="50" class="lTD_0rb0 gridTitle">유효</td>
				</tr>
				<tbody id="tr01Result">
				<tr bgcolor="#FFFFFF" height="30" align="center">
					<td colspan="8" style="color:#948D88; BORDER-TOP: #abccf8 0px solid;height:35px" class="lTD_0rbl">
						검색된 자료가 없습니다.
					</td>
				</tr>
				</tbody>
			</table>
			</form>
			<table border="0" width="670" cellpadding="0" cellspacing="0">
				<tr>
					<td align="left" colspan="6" bgcolor="FFFFFF" style="BORDER-BOTTOM: #abccf8 1px solid;BORDER-LEFT: #abccf8 1px solid;BORDER-TOP: #abccf8 1px solid;BORDER-RIGHT: #abccf8 1px solid;padding-top:0px">
						<table width="100%" border="0" cellpadding="0" cellspacing="0">
							<tr align="center" height="30">
								<td style="background-image:url(/inc/layout/panel-title-light-bg.gif)"><span id="pageDiv01"></span></td>
							</tr>									
						</table>
					</td>
				</tr>
			</table>
		</td>
		<td valign="top" style="text-align:center; padding-left:5px">					
			<table border="0" cellpadding="0" cellspacing="0" width="500">
				<tr>
				  <td width="100%" class="lTD_trbl" style="padding: 5px 5px 5px 5px; text-align:center">
					<table border="0" cellpadding="0" cellspacing="0" width="490">
						<tr>
							<td height="30" width="490" class="lTD_00b0" style="padding: 0 0 0 20px; text-align:left; font-weight:bold">
								그 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 룹 &nbsp; : &nbsp;<select name="groupCd" id="groupCd"><option value="">--그룹--</option></select>
							</td>
						</tr>
						<tr>
							<td height="30" width="490" class="lTD_00b0" style="padding: 0 0 0 20px; text-align:left; font-weight:bold">
								아이템 &nbsp; &nbsp;코드 &nbsp; : &nbsp;<input type="text" name="itemCd" id="itemCd" size="7" maxlength="3" class="specialBox"> &nbsp; &nbsp; &nbsp;
							</td>
						</tr>
						</tr>
						<tr>
							<td height="30" width="490" class="lTD_00b0" style="padding: 0 0 0 20px; text-align:left; font-weight:bold">
								아이템 &nbsp; &nbsp;이름 &nbsp; : &nbsp;<input type="text" name="itemNm" id="itemNm" size="30" class="specialBox"> &nbsp; &nbsp; &nbsp;
							</td>
						</tr>
						</tr>
						<tr>
							<td height="30" width="490" class="lTD_00b0" style="padding: 0 0 0 20px; text-align:left; font-weight:bold">
								순 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 위 &nbsp; : &nbsp;<input type="text" name="itemSeq" id="itemSeq" size="3" class="inputBox"> &nbsp; &nbsp; &nbsp;
							</td>
						</tr>
						<tr style="display:<%=isPerm%>">
							<td height="30" width="490" class="lTD_00b0" style="padding: 0 0 0 20px; text-align:left; font-weight:bold">
								<select name="flag" id="flag">
									<option value="Y">유효</option>
									<option value="N">무효</option>
								</select> &nbsp; &nbsp;<input type="text" id="accessInfo" style="font-weight:normal;width:250px; border:0px">
								<span>
								<input type="button" value="저장" class="inputBtn" onClick="fnSave()"> 
								<input type="button" value="신규" class="inputBtn" onClick="fnReset()">
								</span>
							</td>
						</tr>
					</table>
				  </td>
				</tr>
			</table>
		</td>		
		<td width="185">
			<table border="0" cellpadding="0" cellspacing="0" width="147">
				<tr>
					<td>&nbsp;</td>
				</tr>
			</table>
		</td>
	</tr>
</table>
</div>
<!-- 그리그 끝 -->

<script language="javascript">
	setMainMenu();
	fnSetComCdGroup();
//	//## 테스트를 위한 기본 값세팅	
//	$("#prdNm").val("연습00");
//	$("#etcPrdCd").val("TEST01-00");
//	$("#remarks").val("연습중\r\nThis is testing....");
</script>
</BODY>
</HTML>